package com.alks.function.data.request.finance.mtlcosts;

import com.alks.entity.data.page.PageParam;
import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/6/22下午6:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SuppDutyTtlQueryRequest extends PageParam {

    @ApiModelProperty(value = "补料单号")
    private String slipNo;

    @ApiModelProperty(value = "补料部门ID")
    private String dutyDeptNo;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "补单日期（始）")
    private LocalDateTime slipDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "建单时间（末）")
    private LocalDateTime slipDateEnd;

    @ApiModelProperty(value = "补料类型")
    private String blFlag;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "开单用户")
    private String sysUser;

    @ApiModelProperty(value = "责任归属")
    private String dutyName;

    @ApiModelProperty(value = "指令号")
    private String lotNo;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "1.未确认 2.已确认")
    private Integer financeType;

    @ApiModelProperty(value = "1.本厂部门 2.外包厂商")
    private Integer dutyType;

}
